package cn.cque.service;

import cn.cque.entity.Category;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: XWC
 * @InterfaceName: CategoryService
 * @Date: 2020/10/4
 * @Time: 18:38
 * @Description:
 */
public interface CategoryService {
    List<Category> findAll();

    Category findById(String cid);

    Integer addCategory(Category category);

    Integer deleteCategory(String cid);

    Integer updateCategory(Category category);
}
